<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
    <div class="breadcrumb_wrap">
        <ul class="breadcrumb">
            <li>您的位置：</li>
            <li> <a href="protocol_list.html">协议管理</a> <span class="divider">></span> </li>
            <li class="active">详情</li>
        </ul>
    </div>
    <div class="title">
        <h3>协议修改</h3>
    </div>
    <div class="select_box " >
        <form class="form-horizontal" role="form">
            <div class="button_box table_btn_box editor_btn_box " style="float: left">
                <button type="button" class="btn btn-primary btn_add" ng-click="updateAgreement()">修改</button>
            </div>
            <div class="form-group col-sm-12">
                <label class="control-label">协议标题：</label>
                <div>{{agreement.title}}</div>
            </div>
            <div class="form-group col-sm-12" ng-disabled="isUpdate">
                <label class="control-label">协议内容：</label>
                <div ng-bind-html-unsafe="agreement.des" ng-if="!isUpdate"></div>
                <div  ng-if="isUpdate">
                    <textarea   id="techSynopsis" editor name="techSynopsis" ng-model="agreement.des" style="height:500px" class="radio"  ></textarea>
                </div>
            </div>
        </form>
    </div>
    <div class="button_box table_btn_box editor_btn_box ">
        <button ng-show="isUpdate" type="button" class="btn btn-primary btn_add" ng-click="submitAgreement()" ><i class="glyphicon glyphicon-ok"></i>提交</button>
        <button type="button" class="btn btn-primary back" ><a href="/xdd/common/agreement"><i class="glyphicon glyphicon-chevron-left"></i>返回</a></button>
    </div>
</div>